﻿using System;
using Transformable_Engine_v2.Engine.Graphics;
using Transformable_Engine_v2.Engine.Transformable_Math.Geometry;

namespace Super_Management_Mayhem.Content.Spritesheet
{
    public class PointSheet : SpriteSheetInstance
    {
        private static SpriteSheetInstance _instance;
        public static void LoadContent()
        {
            _instance = new PointSheet();
        }
        public new static Sprite GetSprite(Enum textureName)
        {
            return _instance.GetSprite(textureName);
        }

        public enum Point
        {
            One,
            Three,
            Five,
            Ten
        }

        public override string SpriteSheetPath
        {
            get
            {
                return "Content/Images/Currency.png";
            }
        }

        protected override void LoadSprites()
        {
            AddSprite(Point.One, new TE_Rectangle(0, 0, 1, 1));
            AddSprite(Point.Three, new TE_Rectangle(1, 0, 1, 1));
            AddSprite(Point.Five, new TE_Rectangle(2, 0, 1, 1));
            AddSprite(Point.Ten, new TE_Rectangle(3, 0, 2, 2));
        }
    }
}